/**    
* @Title: OkexRobotProperties.java
* @Package: org.vdalf.gsgz.config
* @author vDalf 2020-09-26 11:45:52 上午11:45:52
* @Copyright © 2020 vDalf Block-Chain Foundation (In Preparation Non-Governmental Organization) All rights reserved.
*/
package org.vdalf.gsgz.config;

import java.util.ArrayList;
import java.util.List;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.vdalf.gsgz.entities.ExchangeServerInfo;
import org.vdalf.gsgz.entities.Strategy;

/**    
* @Title: OkexRobotProperties.java
* @Package: org.vdalf.gsgz.config
* @Description: 
* @author vDalf 2020-09-26 11:45:52 上午11:45:52
*/
@ConfigurationProperties(prefix = "app.robots.okex")
public class OkexRobotProperties {

	private ExchangeServerInfo server = new ExchangeServerInfo();
	
	private OkexAccountProperties account = new OkexAccountProperties();
	
	private List<Strategy> strategys = new ArrayList<>();
	
	public static class OkexAccountProperties{
		
		private String passphrase = "";
		
		private String apiKey = "";
		
		private String secretKey = "";

		public String getPassphrase() {
			return passphrase;
		}

		public void setPassphrase(String passphrase) {
			this.passphrase = passphrase;
		}

		public String getApiKey() {
			return apiKey;
		}

		public void setApiKey(String apiKey) {
			this.apiKey = apiKey;
		}

		public String getSecretKey() {
			return secretKey;
		}

		public void setSecretKey(String secretKey) {
			this.secretKey = secretKey;
		}

	}

	public ExchangeServerInfo getServer() {
		return server;
	}

	public void setServer(ExchangeServerInfo server) {
		this.server = server;
	}

	public OkexAccountProperties getAccount() {
		return account;
	}

	public void setAccount(OkexAccountProperties account) {
		this.account = account;
	}

	public List<Strategy> getStrategys() {
		return strategys;
	}

	public void setStrategys(List<Strategy> strategys) {
		this.strategys = strategys;
	}
	
}
